﻿<ion-view view-title="授信还款" class="credit_repayment">
	<ion-nav-bar ng-class="baseclass">
		<ion-nav-back-button></ion-nav-back-button>
		<ion-nav-buttons side="right">
			<button class="button button-clear saveText" on-tap="onshow_list()">明细</button>
		</ion-nav-buttons>
	</ion-nav-bar>

	<ion-content class="bg">
		<div class="list">
			<div class="item padding-0 shopframe">
				<div class="item-input padding-0">
					<span class="fonttext width64">{{issue_type==1?'好友店铺':'供应商'}}</span>
					<span class="fonttext padding-left-30">{{data.store_name}}</span>
				</div>
				<div class="item-input padding-0 margin-top-5">
					<span class="fonttext">授信额度</span>
					<span class="fonttext padding-left-30">{{data.credit_line}}元</span>
				</div>
			</div>
			<div class="background-10"></div>
			<div class="item item-input padding-0 arrearsframe">
				<span>当前欠款</span>
			</div>
			<div class="item item-input padding-0 moneyframe">
				<div class="width100">
					<span class="font_size_15">￥</span>
					<span class="font_size_28">{{data.debt_total}}</span>
				</div>
			</div>
			<div class="item item-input padding-0 btns" ng-class="{'red':issue_type==1}" on-tap="onshow_payment()">
				<div class="width100">
					立即还款
				</div>
			</div>
		</div>
	</ion-content>
</ion-view>